{% load static %}
<!DOCTYPE html>
<html lang = "en">
<head>
    <meta charset = "UTF-8">
    <link rel = "stylesheet" href = "{% static 'css/bootstrap.min.css' %}">

    <title>Title</title>
</head>
<body>

    <script type = "text/javascript" src = "{% static 'js/jquery-3.5.1.js' %}"></script>
    <script src = "{% static 'js/bootstrap.js' %}"></script>
    <script type = "text/javascript">
        function loadXMLDoc() {
            $.ajax({
                url: "/webtest/page1/",//加载html的路径
                global: false,
                type: "POST", //请求类型
                dataType: "html",
                async: false,
                success: function (msg) {
                    document.getElementById("des").innerHTML = msg;
                }
            })
        }
    </script>
    <div id = "des"><input type = "button" οnclick = "loadXMLDoc()" value = "点击"></div>

</body>
</html>